<template>
    <view class="bg-content">
        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">店铺中心</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-store-open-guide/index`)">
                    <view class="grid-text">开店指引</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-cash-deposit/index?activeTabIndex=0&a=123`)">
                    <view class="grid-text">店铺保证金</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-system-class/index`)"
                             v-if="globalVariable.userInfo.tbCommunityAdmin">
                    <view class="grid-text">系统分类</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-store-manage/index`)">
                    <view class="grid-text">店铺管理</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-goods-manage/index`)">
                    <view class="grid-text">商品管理</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-order-transfer/index?activeTabIndex=0`)">
                    <view class="grid-text">回款记录</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-seckill/index`)">
                    <view class="grid-text">秒杀活动</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">物流订单</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-order/index?activeTabIndex=2`)">
                    <view class="grid-text">物流订单管理</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-order-goods-after-sale/index?activeTabIndex=0`)">
                    <view class="grid-text">物流订单售后服务</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">消费券订单</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-consumer-voucher/index?activeTabIndex=2`)">
                    <view class="grid-text">消费券管理</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-consumer-voucher/store-platform-consumer-voucher-use/index`)">
                    <view class="grid-text">使用消费券</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">餐饮订单</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-eatery-order/index?activeTabIndex=2`)">
                    <view class="grid-text">餐饮订单管理</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">商城推广</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-distributor/index`)">
                    <view class="grid-text">我的粉丝</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-distributor-money/index`)">
                    <view class="grid-text">推广收益</view>
                </u-grid-item>
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-distributor-shared/index`)">
                    <view class="grid-text">邀请推广</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="background-color: white; margin-bottom: 10px;">
            <div class="grid-title">统计报表</div>
            <u-grid :col="3">
                <u-grid-item @click="navigateTo(`/pages/sub/sub2-store-platform/store-platform/store-platform-store-report/index`)">
                    <view class="grid-text">统计报表</view>
                </u-grid-item>
            </u-grid>
        </div>

        <div style="margin-top: 10px; margin-bottom: 10px;">
            <official-account style="width: 100%;"></official-account>
        </div>
    </view>
</template>

<script>

    export default {
        data() {
            return {}
        },
        onReady() {
            const _self = this

        },
        methods: {}
    }
</script>

<style lang="scss" scoped>
    .grid-title {
        padding: 10px;
        font-weight: bold;
        font-size: 16px;
        line-height: 2;
    }
</style>
